From: Dan Winship Date: Tue, 8 Oct 2013 18:26:38 +0000 (-0400) Subject: network: make the icon visible again when going from ethernet to nothing X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~1013^2^2~3270 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=f7624e5f0582a2a1e8c5e59a19bc900548a609e9;p=gnome-shell.git network: make the icon visible again when going from ethernet to nothing https://bugzilla.gnome.org/show_bug.cgi?id=709638 --- diff --git a/js/ui/status/network.js b/js/ui/status/network.js index cc8d6c60a..6a2efc9a0 100644 --- a/js/ui/status/network.js +++ b/js/ui/status/network.js @@ -1587,6 +1587,7 @@ const NMApplet = new Lang.Class({ _updateIcon: function() { if (!this._client.networking_enabled || !this._mainConnection) { this._primaryIndicator.icon_name = 'network-offline-symbolic'; + this._primaryIndicator.visible = true; } else { let dev = this._mainConnection._primaryDevice; this._primaryIndicator.visible = (dev != null);